/**
 * Created by lsx on 2017/5/12.
 */
define(['jquery','mui'], function ($,Mui) {
    if(document.querySelectorAll('.gift-btn').length!=0){
        document.querySelectorAll('.gift-btn')[0].addEventListener('tap', function (e) {
            var btyArr = ['取消', '确定'];
            Mui.alert(gift_code,'礼品兑换码',function (e) {
                window.location.reload();
            });
        });
        console.log(document.querySelectorAll('.gift-btn'));
    }

});
